import React from 'react'

interface IHelloProp {
    message?:string
}

const Hello:React.FC<IHelloProp> = (props) => {
    return <h2>{props.message}</h2>
}
Hello.defaultProps={
    message:"Hello World "
}

export default Hello